axios.defaults.baseURL = `http://122.112.161.135:4000`
class Http {
    static request({ url, method = "get", data = {}, params = {} }) {
        return axios({
            url,
            method,
            data,
            params
        })
    }
}

class MovieHttp extends Http {
    static getMovie(url) {
        return this.request({
            url: `/api/movie/${url}`
        })
    }
}